package com.express.e.root.dao;

import com.express.e.root.bean.Admin;

import java.util.List;

public interface AdminDao {

    Admin queryByAdmin(Admin admin);

    Boolean loginOutByAdmin(Admin admin);

    Boolean onlineAdmin(Admin admin);

    Boolean addAdmin(Admin admin);

    Boolean deleteAdmin(Integer adminId);

    Boolean updateAdmin(Admin admin);

    List listAdmin();

    Admin queryById(Integer adminId);

    Admin queryByName(String adminName);

    Admin queryByPhone(String phone);

    Admin queryByCardId(String cardId);
}
